scroll to bottom of a div javascript

146

javascript scroll to bottom of div -

//For a smooth scroll using jQuery animate
$('#DebugContainer').stop().animate({
  scrollTop: $('#DebugContainer')[0].scrollHeight
}, 800);

Comments

Submit
0 Comments